package br.com.management.mentor.model.beans;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class Category extends BaseEntity {

	private static final long serialVersionUID = 7023405716719797038L;

	private String code;

	@Column(nullable = false)
	private String description;

	public Category() {
	}

	public Category(String code, String description) {
		super();
		this.code = code;
		this.description = description;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
